home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.05 May 91 / Multifile source ƒ / mfdemo.r < prev    next >
Encoding:
Text File  |  1987-12-29  |  1.2 KB  |  40 lines  |  [TEXT/MPS ]

  1. /*
  2. ** File mfdemo.r
  3. ** Resource file for mfdemo.c
  4. **
  5. ** Copyright © 1987, 1988 Eric Schlegel
  6. */
  7.  
  8. #include    "mfile.r"
  9.  
  10. /* this is the standard Rez SIZE type definition    */
  11. /* with some extra bit definitions.                    */
  12. /*----------------------------SIZE • Switcher Size Information--------------------------*/
  13. type 'SIZE' {
  14.         boolean                 dontSaveScreen,                 /* Save screen            */
  15.                                 saveScreen;
  16.         boolean                 ignoreSuspendResumeEvents,        /* suspend-resume        */
  17.                                 acceptSuspendResumeEvents;
  18.         boolean                    enableOptionSwitch,                /* for Switcher            */
  19.                                 disableOptionSwitch;
  20.         boolean                    cannotBackground,                /* accept MF bkgd        */
  21.                                 canBackground;
  22.         boolean                    notMultiFinderAware,            /* obeys MF's new rules    */
  23.                                 MultiFinderAware;
  24.         boolean                    notOnlyBackground,                /* only runs in bkgd    */
  25.                                 onlyBackground;
  26.         unsigned bitstring[10] = 0;                             /* reserved             */
  27.         unsigned longint;                                        /* size - 32k            */
  28.         unsigned longint;                                        /* min size - 32k        */
  29. };
  30.  
  31. resource 'SIZE' (-1) {
  32.     dontSaveScreen,
  33.     acceptSuspendResumeEvents,
  34.     disableOptionSwitch,
  35.     cannotBackground,
  36.     MultiFinderAware,
  37.     notOnlyBackground,
  38.     65536,                    /* 64K preferred, min    */
  39.     65536
  40. };